<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>教材管理系统</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="keywords" content="教材管理系统">
<meta http-equiv="description" content="教材管理系统">
<link href="css/skin.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css"
	href="css/easy-ui-themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="css/easy-ui-themes/icon.css">
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<title>教材管理系统</title>

<script type="text/javascript">
	$(function() {
		$("#imgvcode").click();
	});
	var pgo = 0;
	var hr = "login.html";
	function JumpUrl() {
		if (pgo == 0) {
			location.href = hr;
			pgo = 1;
		}
		$('#dialog').html(
				"<div style='font-size: 15px;overflow: auto;'>登陆成功...</div>");
		pgo--;
	}

	function ajaxToLogin() {
		AjaxFormSubmit(

		'common/Login.do',

		'LoadingImg',

		'loginform',

		function(msg) {
			showdialog("登陆成功...", "dialog");
			switch (msg) {
			case '1':
				hr = 'customer/';
				break;
			case '2':
				hr = 'manager/';
				break;
			case '3':
				hr = 'storehouse/';
				break;
			case '4':
				hr = 'admin/';
				break;
			default:
				break;
			}
			setInterval(JumpUrl, 1000);

		},

		function(msg) {
			showdialog("登陆失败,错误信息:" + msg, "dialog");
			changeVdImg($("#imgvcode").get()[0]);

		}

		);
		return false;
	}
</script>
</head>

<body>
<body>
	<table width="100%" height="166" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="40" valign="top"><table width="100%" height="40"
					border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
					<tr>
						<td width="1%" height="21">&nbsp;</td>
						<td height="40">&nbsp;</td>
						<td width="17%">&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td valign="top"><table width="100%" height="510" border="0"
					cellpadding="0" cellspacing="0" class="login_bg">
					<tr>
						<td width="49%" align="right"><table width="91%" height="510"
								border="0" cellpadding="0" cellspacing="0" class="login_bg2">
								<tr>
									<td height="138" valign="top"><table width="89%"
											height="410" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td height="130">&nbsp;</td>
											</tr>
											<tr>
												<td height="80" align="right" valign="top"><img
													src="images/logo.png" width="279" height="68">
												</td>
											</tr>
											<tr>
												<td height="198" align="right" valign="top"><table
														width="100%" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td width="35%">&nbsp;</td>
															<td height="25" colspan="2" class="left_txt"><p>1-
																	方便教材订购...</p>
															</td>
														</tr>
														<tr>
															<td>&nbsp;</td>
															<td height="25" colspan="2" class="left_txt"><p>2-
																	减少操作事务...</p>
															</td>
														</tr>
														<tr>
															<td>&nbsp;</td>
															<td height="25" colspan="2" class="left_txt"><p>3-
																	流程化管理...</p>
															</td>
														</tr>
														<tr>
															<td>&nbsp;</td>
															<td width="30%" height="40"><img
																src="images/icon-demo.gif" width="16" height="16"><a
																href="faq.html" target="_blank" class="left_txt3">
																	使用说明</a>
															</td>
															<td width="35%"><img
																src="images/icon-login-seaver.gif" width="16"
																height="16"><a href="mailto://h@bilibili.in"
																target="_blank" class="left_txt3"> 联系我们</a>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>

							</table>
						</td>
						<td width="1%">&nbsp;</td>
						<td width="50%" valign="bottom"><table width="100%"
								height="59" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td width="4%">&nbsp;</td>
									<td width="96%" height="38"><span class="login_txt_bt">登陆教材系统</span>
									</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td height="21"><table cellSpacing="0" cellPadding="0"
											width="100%" border="0" id="table211" height="315">
											<tr>
												<td height="164" colspan="2" align=right
													style="text-align:right">
													<form id="loginform" action="common/Login.do" method="post"
														onsubmit='ajaxToLogin();return false;'>
														<table cellSpacing="0" cellPadding="0" width="100%"
															border="0" height="143" id="table212">
															<tr>
																<td width="13%" height="38" class="top_hui_text"><span
																	class="login_txt">帐 号：&nbsp;&nbsp; </span>
																</td>
																<td height="38" colspan="2" class="top_hui_text"><input
																	name="username" class="editbox4" value="" size="20">
																</td>
															</tr>
															<tr>
																<td width="13%" height="35" class="top_hui_text"><span
																	class="login_txt"> 密 码： &nbsp;&nbsp; </span>
																</td>
																<td height="35" colspan="2" class="top_hui_text"><input
																	class="editbox4" type="password" size="20"
																	name="password"> <img src="images/luck.gif"
																	width="19" height="18">
																</td>
															</tr>
															<tr>
																<td width="13%" height="35"><span class="login_txt">用户类型：</span>
																</td>
																<td height="35" colspan="2" class="top_hui_text">

																	<table>
																		<tr>
																			<td><input type="radio" name="type" value="1"
																				checked="checked" /><span class="login_txt">学生、教师</span>
																			</td>
																			<td><input type="radio" name="type" value="2" /><span
																				class="login_txt">教材发行</span></td>
																		</tr>
																		<tr>
																			<td><input type="radio" name="type" value="3" /><span
																				class="login_txt">仓库采购</span></td>
																			<td><input type="radio" name="type" value="4" /><span
																				class="login_txt">管理员</span></td>
																		</tr>
																	</table>
																</td>
															</tr>
															<tr>
																<td width="13%" height="35"><span class="login_txt">验证码：</span>
																</td>
																<td height="35" colspan="2" class="top_hui_text"><input
																	class=wenbenkuang name="verifycode" type=text value=""
																	maxLength=4 size=5><img
																	src="api-other/ValidateCode.do?rnd=1111" id="imgvcode"
																	onclick="changeVdImg(this)" style="cursor:hand" />
																</td>
															</tr>
															<tr>
																<td height="35">&nbsp;</td>
																<td width="20%" height="35"><input name="Submit"
																	type="submit" class="button" id="Submit" value="登 陆">
																	<img src="images/loading.gif"
																	style="display:none;height:25px;width:25px;"
																	id="LoadingImg" /></td>

																<td width="67%" class="top_hui_text"><input
																	name="cs" type="reset" class="button" id="cs"
																	value="取 消">
																</td>
															</tr>
														</table>
														<br>
													</form>
												</td>
											</tr>
											<tr>
												<td width="433" height="130" align="right" valign="bottom"><img
													src="images/login-wel.gif" width="242" height="138">
												</td>
												<td width="57" align="right" valign="bottom">&nbsp;</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="20"><table width="100%" border="0" cellspacing="0"
					cellpadding="0" class="login-buttom-bg">
					<tr>
						<td align="center"><span class="login-buttom-txt">Copyright
								&copy; 软件实训zzy、pgh、xzd、wrl小组</span>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<div id="dialog" title="提示"></div>

</body>


</html>
